﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IEx.Common.Sources
{
    public enum SourceIds
    {
        Facebook = 1,
        Twitter = 2,
        Youtube = 3,
        GooglePlus = 4,
        Otofun = 5,
        Webtretho = 6,
        Lamchame = 7,
        Baomoi = 8,
        Vatgia = 9,
        Rongbay = 10,
        Clipvn = 11,
        HKExNews = 12,
        Tinhte = 13,
        Tamtay = 14,
        Foody = 15,
        Amthuc365 = 16,
        NhahangHanoi = 17,
        MonngonMoingay = 18,
        Diachiso = 19,
        Chotot = 20,
        Raovat=21
    }

    public class SourceCodes
    {
        public const string SOCIAL_NETWORK = "SocialNetwork";
        public const string FORUM = "Forum";
        public const string NEWS = "News";
        public const string CLASSIFIED_AD = "ClassifiedAd";
        public const string FINANCE_REPORT = "FinanceReport";
        public const string INFORMATION_INSTRUCTION = "InformationInstruction";
    }

    public class Settings
    {
        public static int NUMBER_OF_PAGE_REQUEST = int.Parse(ConfigurationManager.AppSettings["MaxRequestPage"]);
    }
}
